{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('edit') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("language_new") }}" data-route="language_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("language_index") }}" data-route="language_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <form method="post" class="form-horizontal" id="form">
        <div class="form-group">
            <label class="col-sm-2 control-label">组</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_group" id="dry_group" value="{{ rs.dry_group }}"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">键</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_key" id="dry_key" value="{{ rs.dry_key }}"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">English</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_en_us" id="dry_en_us" value="{{ rs.dry_en_us }}"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">简体中文</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_zh_cn" id="dry_zh_cn" value="{{ rs.dry_zh_cn }}"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">备注</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_note" id="dry_note" value="{{ rs.dry_note }}"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">排序</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_sort" id="dry_sort" value="{{ rs.dry_sort }}"></div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-primary" type="submit">确定</button>
                <button class="btn btn-white" type="reset">重置</button>
            </div>
        </div>
    </form>
{% endblock %}
